package com.wsd.smartcarwasher.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import com.wsd.smartcarwasher.domain.UserFromH5CouponRecord;
import com.wsd.smartcarwasher.domain.UserFromH5CouponRecordExample;
import com.wsd.smartcarwasher.dao.UserFromH5CouponRecordMapper;
@Service
public class UserFromH5CouponRecordService extends ServiceImpl<UserFromH5CouponRecordMapper, UserFromH5CouponRecord> {

    
    public long countByExample(UserFromH5CouponRecordExample example) {
        return baseMapper.countByExample(example);
    }
    
    public int deleteByExample(UserFromH5CouponRecordExample example) {
        return baseMapper.deleteByExample(example);
    }
    
    public List<UserFromH5CouponRecord> selectByExample(UserFromH5CouponRecordExample example) {
        return baseMapper.selectByExample(example);
    }
    
    public int updateByExampleSelective(UserFromH5CouponRecord record,UserFromH5CouponRecordExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    
    public int updateByExample(UserFromH5CouponRecord record,UserFromH5CouponRecordExample example) {
        return baseMapper.updateByExample(record,example);
    }

    public UserFromH5CouponRecord selectH5CouponByMobile(String mobile) {
        return baseMapper.selectH5CouponByMobile(mobile);
    }
}
